<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<%
String path = request.getContextPath(); 
if(!path.endsWith("/")){
	path=path+"/";
}
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
String webuiPath=request.getScheme()+"://"+request.getServerName()+":81"+path;
 %>
 <c:set var="basePath" value="<%=basePath %>"/>
 <c:set var="webuiPath" value="<%=webuiPath %>"/>
 
 <link rel="stylesheet" type="text/css" href="<%=basePath %>ui/css/style.css">
 <script type="text/javascript" src="<%=basePath %>ui/js/jquery-1.7.2.min.js"> </script>